package com.hua.designpattern.behavioral.visitor;

public class ElementConcrete implements ElementInterface {

	@Override
	public void accept(VisitorInterface visitor) {
		visitor.visit(this);
	}

	@Override
	public void doSomething1() {
		System.out.println("invoke ElementConcrete1 doSomething1!!");

	}

	@Override
	public void doSomething2(String message) {
		System.out.println("invoke ElementConcrete1 doSomething2: " + message);

	}

}
